Description: Hibernate是一个面向Java环境的对象/关系数据库映射工具。对象/关系数据库映射(object/relational mapping(ORM))这个术语表示一种技术,用来把对象模型表示的对象映射到基于SQL的关系模型数据结构中去。Hibernate不仅仅管理Java类到数据库表的映射(包括Java数据类型到SQL数据类型的映射),还提供数据查询和获取数据的方法,可以大幅度减少开发时人工使用SQL和JDBC处理数据的时间。 本文在充分研究以往数据持久层的发展和现状的基础上,引出了基于ORM的数据持久化概念,并通过其与传统持久化方法的深入比较,说明其优越性。依据这一概念,本文进一步引出基于ORM的持久层框架——Hibernate,并详细描述其体系结构和API。-Hibernate is a Java-oriented environment for the object / relational database mapping tool. Object / relational database mapping (object / relational mapping (ORM) ) said the terms of a technology, Object Model is used to express the object mapped to SQL-based relational model of data structure. Hibernate Java class management not only to the mapping database tables (including Java data type S QL data type mapping), but also provided data query and data acquisition methods, can greatly reduce development time using artificial SQL and JDBC data processing time. Based on the previous full study data persistence layer and the development on the basis of the status quo, ORM raises based on the concept of data persistence, and through its persistence with the traditional method of in-depth comp Platform: |
Size: 4283484 |
Author:王浩(jiqixueyuan) |
Hits:
Description: 详细地讨论Sun公司的Java数据对象(JDO)标准。JDO允许我们使用Java对象,支持事务和多用户。与ODBC不同的是,它使我们无需考虑SQL和与数据库有关的其他东西。它与串行化也有所区别,因为它支持多个用户和事务。JDO允许Java开发人员将他们的数据模型用作数据模型,无需在“数据端”、“对象端”之间的转移方面花费大量的时间-detailed discussion of Sun's Java Data Objects (JDO) standard. JDO allows us to use Java objects, support services and more users. With ODBC different is that it enables us to take into consideration the SQL database and the other things. It also Serialization distinction, because it supports multiple users and services. JDO allows Java developers to their data model for the data model, not the "data terminal", "target end" of the transfer to spend a lot of time Platform: |
Size: 82339 |
Author:朱晓峰 |
Hits: